home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2000 June / CyberMycha0006.iso / NFSPorsche / data1.cab / Program_Files / FEDATA / Controls / Graphic Tab Button.ctr < prev    next >
Text File  |  2000-03-27  |  4KB  |  169 lines

  1. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2. ;
  3. ; Graphic Tab Button
  4. ;
  5. ; One type of radio item.  These are placed on a radio group control which then adds
  6. ;  mutually exclusive behaviour to the tab button.  Each tab button has a hook into
  7. ;  a panel control on the screen which indicates what panel's visibility is controlled
  8. ;  by this tab.
  9. ;
  10. ; Created by Jason Major, June 24/99
  11. ;
  12. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  13.  
  14. [control]
  15. id=NFS5.GRAPHICTABBUTTON
  16. description=Graphic Tab Button
  17.  
  18. parts=data,label,hoverbg,selectedbg,mousedownbg
  19.  
  20. name.value=ID_TABBUTTON
  21.  
  22.  
  23.  
  24. states=normal,hidden,hover,selected,selectedhover
  25. states.flags=0
  26.  
  27. size.value=hoverbg.size.width,hoverbg.size.height
  28. size.flags=HIDDEN|READONLY
  29. moveable.value=1
  30. moveable.flags=HIDDEN|READONLY
  31. resizeable.value=0
  32. resizeable.flags=HIDDEN|READONLY
  33. pos=0,0
  34. pos.label=control.pos
  35.  
  36. autosize.value=0
  37. autosize.flags=HIDDEN|READONLY
  38.  
  39.  
  40. [state.normal]
  41. parts=data,label
  42.  
  43. [state.hover]
  44. parts=data,hoverbg,label
  45.  
  46. [state.selected]
  47. parts=data,selectedbg,label
  48.  
  49. [state.selectedhover]
  50. parts=data,hoverbg,label
  51.  
  52. [state.hidden]
  53. parts=data
  54.  
  55.  
  56.  
  57. [part.data]
  58. id=DATA
  59. attributes.value=caption,panel,transon,transoff,textoffsetx,textoffsety,dropshadow,TLoffsetx,TRoffsetx,BLoffsetx,BRoffsetx,hovershape,selectedshape,flipit,mousedownshape,glintybox,helptext
  60. transon.type=STRING
  61. transon.value=FADE
  62. transon.label=Transition On
  63. transon.flags=0
  64. transoff.type=STRING
  65. transoff.value=SAME
  66. transoff.label=Transition Off
  67.  
  68. caption.type=STRING
  69. caption.value=IDS_TABBUTTON
  70. caption.label=Caption
  71. panel.type=STRING
  72. panel.value=ID_PANELNAME
  73.  
  74. textoffsetx.type=INT
  75. textoffsetx.value=0
  76. textoffsety.type=INT
  77. textoffsety.value=0
  78.  
  79. dropshadow.type=INT
  80. dropshadow.value=0
  81. dropshadow.flags=HIDDEN|READONLY
  82.  
  83. TLoffsetx.type=INT
  84. TLoffsetx.value=0
  85. TRoffsetx.type=INT
  86. TRoffsetx.value=0
  87. BLoffsetx.type=INT
  88. BLoffsetx.value=0
  89. BRoffsetx.type=INT
  90. BRoffsetx.value=0
  91.  
  92. hovershape.type=INT
  93. hovershape.value=0
  94. selectedshape.type=INT
  95. selectedshape.value=0
  96. mousedownshape.type=INT
  97. mousedownshape.value=0
  98.  
  99. flipit.type=INT
  100. flipit.value=0
  101.  
  102. glintybox.type=INT
  103. glintybox.value=-1
  104. glintybox.flags=HIDDEN|READONLY
  105. helptext.type=INT
  106. helptext.value=0
  107.  
  108.  
  109. [part.label]
  110. id=LOCALIZEDTEXT
  111. pos.value=((selectedbg.size.width-label.size.width)/2)+data.textoffsetx,data.textoffsety
  112. pos.flags=HIDDEN|READONLY
  113. pos.label=Text Offset
  114. size.flags=HIDDEN|READONLY
  115. fontPathName.value=Univers11b.ffn
  116. fontPathName.flags=HIDDEN|READONLY
  117. stringID.value=IDS_YOUR_STRING
  118. foreColor.value=0xffffffff
  119. foreColor.flags=HIDDEN|READONLY
  120. backColor.value=0x00000000
  121. backColor.flags=HIDDEN|READONLY
  122.  
  123.  
  124. [part.hoverbg]
  125. id=SHAPE
  126. pos.value=0,0
  127. pos.flags=0
  128. pos.label=BG Small Offset
  129. pos.screenkey=smallpos
  130. size.value=
  131. size.flags=HIDDEN|READONLY
  132. shapePathName.value=
  133. shapePathName.screenkey=bgSmallPathName
  134. shapeIndex.value=data.hovershape
  135. shapeIndex.flags=HIDDEN|READONLY
  136. flip.value=data.flipit
  137. flip.flags=HIDDEN|READONLY
  138.  
  139. [part.selectedbg]
  140. id=SHAPE
  141. pos.value=0,0
  142. pos.flags=0
  143. pos.label=Highlight small offset
  144. pos.screenkey=highlightsmallpos
  145. size.value=
  146. size.flags=HIDDEN|READONLY
  147. shapePathName.value=
  148. shapePathName.screenkey=selectedbgSmallPathName
  149. shapeIndex.value=data.selectedshape
  150. shapeIndex.flags=HIDDEN|READONLY
  151. flip.value=data.flipit
  152. flip.flags=HIDDEN|READONLY
  153.  
  154. [part.mousedownbg]
  155. id=SHAPE
  156. pos.value=0,0
  157. pos.flags=0
  158. pos.label=Highlight small offset
  159. pos.screenkey=highlightsmallpos
  160. size.value=
  161. size.flags=HIDDEN|READONLY
  162. shapePathName.value=
  163. shapePathName.screenkey=selectedbgSmallPathName
  164. shapeIndex.value=data.mousedownshape
  165. shapeIndex.flags=HIDDEN|READONLY
  166. flip.value=data.flipit
  167. flip.flags=HIDDEN|READONLY
  168.  
  169.